package com.ibeeking.found.log.rest.service;

import com.ibeeking.found.log.service.common.param.LogGroupParam;
import com.ibeeking.found.log.service.common.vo.LogGroupVO;
import com.ibeeking.found.log.service.common.query.LogGroupQuery;
import com.ibeeking.found.log.service.common.query.LogGroupPageQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;


/**
 * ILogGroupService
 *
 * @Author ibeeking
 * @Date 2021-02-25 17:55
 */
public interface ILogGroupService {

    /***
     * 查询列表
     */
    List<LogGroupVO> list(LogGroupQuery logGroupQuery);

    /***
     * 分页查询
     */
    Page<LogGroupVO> pageList(LogGroupPageQuery logGroupPageQuery);

    /***
     * 新增
     */
    Boolean add(LogGroupParam logGroupParam);

    /***
     * 修改
     */
    Boolean modify(LogGroupParam logGroupParam);

    /***
     * 通过id查询
     */
    LogGroupVO view(Long id);

    /***
     * 通过id删除
     */
    Boolean del(Long id);
}